define({ "api": [
  {
    "type": "POST",
    "url": "/login",
    "title": "App登录",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/login"
      }
    ],
    "group": "auth",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"token\": \"xxx\",\n        \"shop_id\": 1, // 店铺ID\n        \"shop_name\": \"新世界超市\", // 店铺名称\n        \"username\": \"tony\", // 收银员\n        \"cashier_id\": 1, // 收银员ID\n        \"job_num\": 1001, // 工号\n        \"role_id\": 1, // 角色ID\n        \"auth_good\": 1 // 商品修改权限 0 无权限 1 有权限 ；针对库存，价格，成本价，抵扣券比例，守护者比例等\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/auth.js",
    "groupTitle": "收银员认证",
    "name": "PostLogin"
  },
  {
    "type": "POST",
    "url": "/reg",
    "title": "注册",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/reg"
      }
    ],
    "group": "auth",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "shop_id",
            "description": "<p>店铺ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"token\": \"ASIYg...\",\n        \"shop_id\": 70,\n        \"shop_name\": \"新天地超市\",\n        \"username\": \"hank\",\n        \"cashier_id\": 7,\n        \"job_num\": 1004\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/auth.js",
    "groupTitle": "收银员认证",
    "name": "PostReg"
  },
  {
    "type": "POST",
    "url": "/v2/login",
    "title": "收银端登录",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/login"
      }
    ],
    "description": "<p>收银端登录，未绑定过设备码，会绑定当前提交设备码</p>",
    "group": "auth",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "device_code",
            "description": "<p>设备码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"token\": \"xxx\",\n        \"shop_id\": 1, // 店铺ID\n        \"shop_name\": \"新世界超市\", // 店铺名称\n        \"username\": \"tony\", // 收银员\n        \"cashier_id\": 1, // 收银员ID\n        \"job_num\": 1001 // 工号\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/auth.js",
    "groupTitle": "收银员认证",
    "name": "PostV2Login"
  },
  {
    "type": "POST",
    "url": "/cart/add_goods",
    "title": "购物车添加商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/add_goods"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "barcode",
            "description": "<p>条形码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "cart_typ",
            "defaultValue": "0",
            "description": "<p>购物车类型，0购物车，1退货，2换货</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"goods_id\": 1662,\n        \"goods_name\": \"博大谷蔬系列龙须挂面\",\n        \"selling_price\": 11.0,\n        \"unit_price\": 11.0, // 单价\n        \"spec_typ\": 0, // 0计数，1称重\n        \"unit\": \"袋\",\n        \"risk_grade\": 0, // 1为烟酒\n        \"cart_typ\": 0,\n        \"id\": 2384, // 购物车ID\n        \"subtotal\": \"33.00\", // 小计\n        \"amount\": \"4.000\",\n        \"is_half\": 1 // 是否半价，0否，1或2是\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartAdd_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/add_goods_by_price",
    "title": "购物车添加无码商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/add_goods_by_price"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": "<p>价格</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "cart_typ",
            "defaultValue": "0",
            "description": "<p>购物车类型，0购物车，1退货，2换货</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 1291,\n        \"goods_id\": 0,\n        \"goods_name\": \"无码商品\",\n        \"selling_price\": \"123.12\",\n        \"unit_price\": \"123.12\",\n        \"subtotal\": \"-123.12\",\n        \"amount\": 1,\n        \"risk_grade\": 0,\n        \"cart_typ\": 1\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartAdd_goods_by_price",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/del_cart",
    "title": "作废（删除挂单记录）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/del_cart"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartDel_cart",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/del_goods",
    "title": "从购物车删除商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/del_goods"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>购物车ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartDel_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/goods_list",
    "title": "购物、退货商品列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/goods_list"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "retained_flag",
            "defaultValue": "0",
            "description": "<p>取单标记（retained_flag=1会更新挂单状态），恢复挂单列表需要设置该参数</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "status",
            "defaultValue": "0",
            "description": "<p>状态，获取挂单购物车status=-1</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "cart_mode",
            "defaultValue": "0",
            "description": "<p>购物车类型，0购物模式，1退货模式</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 16,\n            \"shop_id\": 1,\n            \"cashier_id\": 0,\n            \"barcode\": \"6901668053806\",\n            \"goods_id\": 151,\n            \"member_id\": 0,\n            \"bill_num\": \"202109241719\",\n            \"goods_name\": \"骆驼一条\",\n            \"selling_price\": \"10.00\",\n            \"unit_price\": \"10.00\",\n            \"amount\": 2,\n            \"subtotal\": \"20.00\",\n            \"err\": null,\n            \"status\": -1,\n            \"created\": 1632705443,\n            \"updated\": 1632705443,\n            \"deleted\": 0\n        }\n    ],\n    \"total\": 1,\n    \"page\": 1,\n    \"size\": 15,\n    \"total_sum\": \"20.00\",\n    \"member_id\": 0 // 会员ID\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartGoods_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/retained",
    "title": "挂单",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/retained"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartRetained",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/retained_list",
    "title": "取单（挂单列表）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/retained_list"
      }
    ],
    "description": "<p>返回挂单列表，通过bill_num，访问“购物车商品列表”接口获取已挂单商品列表</p>",
    "group": "cart",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"bill_num\": \"202109241720\", // 购物车单号\n            \"created\": 1632724212\n        }\n    ],\n    \"total\": 2,\n    \"page\": 1,\n    \"size\": 15\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartRetained_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cart/update_goods",
    "title": "更新购物车",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cart/update_goods"
      }
    ],
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>购物车ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "amount",
            "description": "<p>数量,字段不存在，累加</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "selling_price",
            "description": "<p>收银员输入的价格</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cart.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostCartUpdate_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/return_goods",
    "title": "退货结算（无订单退款）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/return_goods"
      }
    ],
    "description": "<div>refund_amount，值为正数时为用户支付，负数时为给用户找零。</div>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>退货单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "refund_amount",
            "defaultValue": "0",
            "description": "<p>收银员输入的退款金额</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"order_data\": {\n        \"goods_num\": \"1.000\",\n        \"cart_total_price\": \"5\",\n        \"created\": 1638326246,\n        \"updated\": 1638326246,\n        \"shop_id\": 70,\n        \"cashier_id\": 7,\n        \"order_sn\": \"211201103726418043131GOR\",\n        \"bill_num\": \"271637808929716\",\n        \"pay_method\": \"现金\",\n        \"member_id\": 0,\n        \"account\": \"\",\n        \"status\": -5, // 订单状态，0待支付，1已结，-1退货，-2退货子单，-3支付失败(需主动查询支付状态)，-4已退款，-5退换货，-100反结账(整单退)\n        \"remark\": \"\",\n        \"cart_typ\": 3,\n        \"total_price\": \"5\"\n    },\n    \"order_detail\": [\n        {\n            \"order_id\": 787,\n            \"goods_id\": 1570,\n            \"goods_name\": \"小米锅巴（大袋）\",\n            \"barcode\": \"6970411499226\",\n            \"amount\": \"2.000\",\n            \"selling_price\": \"5.00\",\n            \"spec_typ\": 0,\n            \"is_input_price\": 0,\n            \"is_discount\": 0,\n            \"subtotal_raw\": \"10.00000\",\n            \"subtotal\": \"10.00\",\n            \"stock_prev\": \"4.000\",\n            \"stock_next\": \"2.000\",\n            \"status\": -5, // -4无单退货,-5无单换货\n            \"created\": 1638326246,\n            \"updated\": 1638326246\n        },\n        {\n            \"order_id\": 787,\n            \"goods_id\": 1570,\n            \"goods_name\": \"小米锅巴（大袋）\",\n            \"barcode\": \"6970411499226\",\n            \"amount\": \"-1.000\",\n            \"selling_price\": \"5.00\",\n            \"spec_typ\": 0,\n            \"is_input_price\": 0,\n            \"is_discount\": 0,\n            \"subtotal_raw\": \"-5.00000\",\n            \"subtotal\": \"-5.00\",\n            \"stock_prev\": \"2.000\",\n            \"stock_next\": \"3.000\",\n            \"status\": -4,\n            \"created\": 1638326246,\n            \"updated\": 1638326246\n        }\n    ],\n    \"shop\": {\n        \"shop_name\": \"新天地超市\",\n        \"shop_phone\": \"13444444444\",\n        \"shop_address\": \"太原街18号\"\n    },\n    \"refund_amount\": \"5\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/return_goods.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostReturn_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/v3/return_goods",
    "title": "退货结算V3（无订单退款）组合支付",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/v3/return_goods"
      }
    ],
    "description": "<div>refund_amount，值为正数时为用户支付，负数时为给用户找零。</div>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>退货单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "refund_amount",
            "defaultValue": "0",
            "description": "<p>收银员输入的退款金额</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "pay_methods",
            "description": "<p>支付方式</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_methods.typ",
            "description": "<p>支付方式类型 1现金，2仓储卡，3余额，10线下扫码，100微信/支付宝</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pay_methods.amount",
            "description": "<p>支付金额</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员ID，支付类型为仓储卡时，需要传入会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "pay_code",
            "defaultValue": "None",
            "description": "<p>支付码，如果支付方式包括“微信”或“支付宝”，则需要提供此参数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"order_data\": {\n        \"goods_num\": \"1.000\",\n        \"cart_total_price\": \"5\",\n        \"created\": 1638326246,\n        \"updated\": 1638326246,\n        \"shop_id\": 70,\n        \"cashier_id\": 7,\n        \"order_sn\": \"211201103726418043131GOR\",\n        \"bill_num\": \"271637808929716\",\n        \"pay_method\": \"现金\",\n        \"member_id\": 0,\n        \"account\": \"\",\n        \"status\": -5, // 订单状态，0待支付，1已结，-1退货，-2退货子单，-3支付失败(需主动查询支付状态)，-4已退款，-5退换货，-100反结账(整单退)\n        \"remark\": \"\",\n        \"cart_typ\": 3,\n        \"total_price\": \"5\"\n    },\n    \"order_detail\": [\n        {\n            \"order_id\": 787,\n            \"goods_id\": 1570,\n            \"goods_name\": \"小米锅巴（大袋）\",\n            \"barcode\": \"6970411499226\",\n            \"amount\": \"2.000\",\n            \"selling_price\": \"5.00\",\n            \"spec_typ\": 0,\n            \"is_input_price\": 0,\n            \"is_discount\": 0,\n            \"subtotal_raw\": \"10.00000\",\n            \"subtotal\": \"10.00\",\n            \"stock_prev\": \"4.000\",\n            \"stock_next\": \"2.000\",\n            \"status\": -5, // -4无单退货,-5无单换货\n            \"created\": 1638326246,\n            \"updated\": 1638326246\n        },\n        {\n            \"order_id\": 787,\n            \"goods_id\": 1570,\n            \"goods_name\": \"小米锅巴（大袋）\",\n            \"barcode\": \"6970411499226\",\n            \"amount\": \"-1.000\",\n            \"selling_price\": \"5.00\",\n            \"spec_typ\": 0,\n            \"is_input_price\": 0,\n            \"is_discount\": 0,\n            \"subtotal_raw\": \"-5.00000\",\n            \"subtotal\": \"-5.00\",\n            \"stock_prev\": \"2.000\",\n            \"stock_next\": \"3.000\",\n            \"status\": -4,\n            \"created\": 1638326246,\n            \"updated\": 1638326246\n        }\n    ],\n    \"shop\": {\n        \"shop_name\": \"新天地超市\",\n        \"shop_phone\": \"13444444444\",\n        \"shop_address\": \"太原街18号\"\n    },\n    \"refund_amount\": \"5\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/return_goods.js",
    "groupTitle": "购物车、退货模式",
    "name": "PostV3Return_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cashier_info",
    "title": "收银员信息",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cashier_info"
      }
    ],
    "group": "cashier",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 3, // 收银员ID\n        \"shop_id\": 1, // 店铺ID\n        \"job_num\": 1003, // 工号\n        \"username\": \"bill\", // 收银员账号\n        \"status\": 1, // 收银员状态\n        \"created\": 1632730299,\n        \"updated\": 1632889268,\n        \"cfg\": { // 个人配置信息\n            \"print\": [\n                {\n                    \"a\": 1\n                }\n            ]\n        },\n        \"shop_name\": \"大鱼的店\" // 店铺名称\n        \"shop_phone\": \"13444444444\",\n        \"shop_address\": \"太原街18号\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostCashier_info",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cashier_update_config",
    "title": "更新个人配置",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cashier_update_config"
      }
    ],
    "description": "<p>键值可以是任意类型。</p>",
    "group": "cashier",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "key",
            "description": "<p>配置键名</p>"
          },
          {
            "group": "Parameter",
            "type": "Object",
            "optional": false,
            "field": "val",
            "description": "<p>配置键值</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostCashier_update_config",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/handover",
    "title": "交接班",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/handover"
      }
    ],
    "group": "cashier",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"cashier\": {\n            \"id\": 7,\n            \"shop_id\": 70,\n            \"job_num\": 1004,\n            \"username\": \"hank\",\n            \"status\": 1,\n            \"last_login_at\": 1635917472,\n            \"created\": 1634782088\n        },\n        \"cash\": {\n            \"label\": \"应有现金\",\n            \"num\": 1,\n            \"amount\": \"9.90\",\n            \"detail\": [\n                {\n                    \"label\": \"店内单据\",\n                    \"num\": 1,\n                    \"amount\": \"9.90\"\n                },\n                {\n                    \"label\": \"店内销售单据\",\n                    \"num\": 1,\n                    \"amount\": \"9.90\"\n                },\n                {\n                    \"label\": \"店内单反结账单据\",\n                    \"num\": 4,\n                    \"amount\": \"575.00\"\n                }\n            ]\n        },\n        \"sale\": {\n            \"label\": \"总销售\",\n            \"num\": 1,\n            \"amount\": \"9.90\",\n            \"detail\": [\n                {\n                    \"label\": \"店内单据\",\n                    \"num\": 1,\n                    \"amount\": \"9.90\"\n                },\n                {\n                    \"label\": \"店内销售单据\",\n                    \"num\": 1,\n                    \"amount\": \"9.90\"\n                },\n                {\n                    \"label\": \"店内单反结账单据\",\n                    \"num\": 4,\n                    \"amount\": \"575.00\"\n                }\n            ]\n        },\n        \"storage\": {\n            \"label\": \"仓储卡充值\",\n            \"num\": 0,\n            \"amount\": \"0\"\n        },\n        \"payment\": {\n            \"label\": \"支付统计\",\n            \"num\": 6,\n            \"amount\": \"9.90\",\n            \"detail\": [\n                {\n                    \"label\": \"现金\",\n                    \"num\": 5,\n                    \"amount\": \"9.90\"\n                },\n                {\n                    \"label\": \"微信/支付宝\",\n                    \"num\": 1,\n                    \"amount\": \"0.00\"\n                }\n            ]\n        },\n        \"from_time\": \"2021-10-21 17:24:03\",\n        \"to_time\": \"2021-10-22 16:16:15\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostHandover",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/is_sign_in",
    "title": "签到状态",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/is_sign_in"
      }
    ],
    "group": "cashier",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0，\n    \"sign_in_status\": 0 // 是否签到，0否，1是\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostIs_sign_in",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/logout",
    "title": "退出登录",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/logout"
      }
    ],
    "group": "cashier",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostLogout",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/sign_in",
    "title": "签到",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/sign_in"
      }
    ],
    "group": "cashier",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/cashier.js",
    "groupTitle": "收银员",
    "name": "PostSign_in",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/add_barcode",
    "title": "添加商品条形码，一件商品有多个条形码",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/add_barcode"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "barcode",
            "description": "<p>条形码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostAdd_barcode",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/add_goods",
    "title": "添加商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/add_goods"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "barcode",
            "description": "<p>条形码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "class_id",
            "description": "<p>商品分类</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_name",
            "description": "<p>商品名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "usdt_price",
            "description": "<p>商品价格</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cost_price",
            "description": "<p>成本价格</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "member_price",
            "description": "<p>会员价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "scount",
            "defaultValue": "1",
            "description": "<p>库存、数量，spec_typ=1时，单位为千克</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "py_code",
            "description": "<p>拼音码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "unit",
            "description": "<p>单位，spec_typ=1时，单位默认千克</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "img",
            "description": "<p>商品图片</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content_img",
            "description": "<p>商品详情图片</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "point_ratio",
            "description": "<p>积分比例、会员比例</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "guardian_ratio",
            "defaultValue": "None",
            "description": "<p>守护者获得购物券比例，默认point_ratio+0.01</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "spec_typ",
            "defaultValue": "None",
            "description": "<p>计价方式 0计数，1称重</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "scale_no",
            "defaultValue": "None",
            "description": "<p>秤码，spec_typ=1是，秤码必须</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "product_date",
            "description": "<p>生产日期，默认为当前日期前一天</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "guarantee_period",
            "description": "<p>保持期</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "guarantee_type",
            "description": "<p>保质期类型 1 日 2 月 3 年</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "is_fast_food",
            "defaultValue": "0",
            "description": "<p>是否快餐， 0否，1是</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "is_half",
            "defaultValue": "0",
            "description": "<p>第二件半价， 0否，1是</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n        \"product_date\": \"2021-12-31\" // 生产日期\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostAdd_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/del_goods",
    "title": "删除商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/del_goods"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>商品ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostDel_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/goods",
    "title": "商品详情",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/goods"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>商品ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 1459,\n        \"class_id\": 1, // 商品分类ID,\n        \"class_name\": \"箱包\", // 商品分\n        \"goods_name\": \"原木纸巾\", // 商品名称\n        \"usdt_price\": 5.0, // 商品售价\n        \"scount\": 2, // 库存\n        \"is_ban\": 0, // 0 上架 1 下架\n        \"is_delete\": 0,\n        \"create_time\": \"2021-10-11T10:53:19Z\",\n        \"state\": 0,\n        \"shoper_id\": 1, // 店铺ID\n        \"is_community\": 1, // 是否是社区超市商品 0 否 1 是\n        \"point_ratio\": null, // 积分比例、会员比例\n        \"is_warehouse\": 1, // 是否是仓储商品 0 否 1 是\n        \"device_goods_id\": \"1_6901668053889\",\n        \"cost_price\": \"3.00\", // 成本价格\n        \"member_price\": \"0.00\", // 会员价格\n        \"barcode\": \"6901668053889\", // 条形码\n        \"ver\": 0,\n        \"unit\": \"\", // 单位\n        \"guardian_ratio\": 0.16, // 守护者获得购物券比例\n        \"product_date\": null, // 生产日期 YYYY-DD-MM\n        \"guarantee_period\": null, // 保持期\n        \"guarantee_type\": 1, // 保质期类型 1 日 2 月 3 年\n        \"goods_img\": \"a.jpg\", // 商品图片\n        \"goods_content_img\": \"b.jpg\" // 商品详情图片\n        \"product_date\": \"2021-12-31\" // 生产日期\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostGoods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/goods_list",
    "title": "商品列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/goods_list"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "page",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "size",
            "description": "<p>每页数量</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "goods_name",
            "description": "<p>商品名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "class_id",
            "description": "<p>分类ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 4, // 商品ID\n            \"class_id\": 5, // 分类ID\n            \"goods_name\": \"苹果\", // 商品名称\n            \"usdt_price\": 198.0, // 售价\n            \"scount\": 73, // 库存\n            \"state\": 1, // 审核状态，0：审核中，1审核通过，2：审核拒绝\n            \"is_community\": 0, // 是否是社区超市商品 0 否 1 是\n            \"is_warehouse\": 0, // 是否是仓储商品 0 否 1 是\n            \"is_ban\": 0, // 0 上架 1 下架\n            \"create_time\": \"2021-05-13T17:13:29Z\", // 创建时间\n            \"device_goods_id\": \"1_6932046110013\",\n            \"cost_price\": \"0.00\",\n            \"member_price\": \"0.00\",\n            \"goods_img\": \"\"\n        },\n    ],\n    \"total\": 37,\n    \"page\": 1,\n    \"size\": 10\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostGoods_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/query_goods",
    "title": "通过条形码/拼音码/商品名模糊查询商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/query_goods"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "keyword",
            "description": "<p>关键字，可以是 条形码/拼音码/商品名</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "keyword_type",
            "defaultValue": "None",
            "description": "<p>关键字类型， 1条形码（精确模糊），其它值模糊查询</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "page",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "size",
            "description": "<p>每页数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "店内商品存在时:",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 152, // 商品ID\n            \"shop_id\": 1, // 店铺ID\n            \"barcode\": \"6901668053807\", // 条形码\n            \"class_id\": 1, // 分类ID\n            \"goods_name\": \"骆驼一件\", // 商品名称\n            \"usdt_price\": 10.0, // 售价\n            \"scount\": 18, // 库存\n            \"is_ban\": 0, // 0 上架 1 下架\n            \"is_half\": 0, // 商品是否半价，0否，1商品半价，2店铺半价\n            \"create_time\": \"2021-09-27T09:14:54Z\", // 创建时间\n            \"state\": 0, // 审核状态，0：审核中，1审核通过，2：审核拒绝\n            \"is_community\": 1, // 是否是社区超市商品 0 否 1 是\n            \"point_ratio\": 10.0,\n            \"is_warehouse\": 1, // 是否是仓储商品 0 否 1 是\n            \"cost_price\": \"10.00\", // 成本价格\n            \"member_price\": \"0.00\", // 会员价格\n            \"py_code\": \"ltj\", // 拼音码\n            \"unit\": \"1\",\n            \"spec_typ\": 0,\n            \"scale_no\": \"\",\n            \"class_name\": \"箱包\", // 分类名称\n            \"risk_grade\": 1, // 1为烟酒\n            \"product_date\": null, // 生产日期 YYYY-DD-MM\n            \"guarantee_period\": null, // 保持期\n            \"guarantee_type\": 1, // 保质期类型 1 日 2 月 3 年\n            \"goods_img\": \"\",\n            \"goods_content_img\": \"\"\n        }\n    ],\n    \"total\": 37,\n    \"page\": 1,\n    \"size\": 10,\n    \"weight\": \"0.575\", // 从条形码解析出的重量，单位千克\n    \"shop_is_half\": 1 // 店铺商品全部半价\n}",
          "type": "json"
        },
        {
          "title": "店内商品不存在时:",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [],\n    \"total\": 0,\n    \"page\": 1,\n    \"size\": 15,\n    \"weight\": \"89.826\",\n    \"barcode_data\": { // 条形码数据\n        \"barcode\": \"1650667898268\",\n        \"goods_name\": \"A店铺商品\",\n        \"price\": \"10\",\n        \"unit\": \"吨\",\n        \"img\": \"http://shop365.oss-cn-guangzhou.aliyuncs.com/20211115174414TLE.png\",\n        \"content_img\": \"http://shop365.oss-cn-guangzhou.aliyuncs.com/20211115174414TLE.png\",\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostQuery_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/update_goods",
    "title": "更新商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/update_goods"
      }
    ],
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "barcode",
            "description": "<p>条形码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "class_id",
            "description": "<p>商品分类</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_name",
            "description": "<p>商品名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "usdt_price",
            "description": "<p>商品价格</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "cost_price",
            "description": "<p>成本价格</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "member_price",
            "description": "<p>会员价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "scount",
            "defaultValue": "1",
            "description": "<p>数量</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "py_code",
            "description": "<p>拼音码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "unit",
            "description": "<p>单位</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "point_ratio",
            "description": "<p>积分比例、会员比例</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "guardian_ratio",
            "description": "<p>守护者获得购物券比例</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "product_date",
            "description": "<p>生产日期，默认为当前日期前一天</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "guarantee_period",
            "description": "<p>保持期</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "guarantee_type",
            "description": "<p>保质期类型 1 日 2 月 3 年</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostUpdate_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/v2/query_goods",
    "title": "关键字查询商品 V2",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/v2/query_goods"
      }
    ],
    "description": "<p>收银系统查询商品，如keyword是数值，并且长度大于5，按条形码精确查询，否则按“条形码/拼音码/商品名”模糊查询。</p> <p>通过条形码精确查询，不返回封面等字段</p>",
    "group": "goods",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "keyword",
            "description": "<p>关键字，可以是 条形码/拼音码/商品名</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "keyword_type",
            "defaultValue": "None",
            "description": "<p>关键字类型， 1条形码（精确模糊），其它值模糊查询</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "is_fast_food",
            "defaultValue": "0",
            "description": "<p>是否快餐， 0否，1是</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "class_id",
            "defaultValue": "0",
            "description": "<p>商品分类</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "page",
            "description": "<p>页码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "size",
            "description": "<p>每页数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"barcode\": \"6901668053807\", // 条形码\n            \"id\": 152, // 商品ID\n            \"class_id\": 1, // 分类ID\n            \"goods_name\": \"骆驼一件\", // 商品名称\n            \"usdt_price\": 10.0, // 售价\n            \"scount\": 18, // 库存\n            \"cost_price\": \"10.00\", // 成本价格\n            \"member_price\": \"0.00\", // 会员价格\n            \"unit\": \"1\",\n            \"spec_typ\": 0,\n            \"scale_no\": \"\",\n            \"class_name\": \"手拎包\", // 分类名称\n            \"is_half\": 0, // 商品是否半价，0否，1商品半价，2店铺半价\n            \"risk_grade\": 1 // 1为烟酒\n        }\n    ],\n    \"total\": 37,\n    \"page\": 1,\n    \"size\": 10,\n    \"weight\": \"0.575\", // 从条形码解析出的重量，单位千克\n    \"shop_is_half\": 1 // 店铺商品全部半价\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods.js",
    "groupTitle": "商品",
    "name": "PostV2Query_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/add_goods_class",
    "title": "添加商品分类",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/add_goods_class"
      }
    ],
    "group": "goods_class",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "class_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "parent_id",
            "description": "<p>低级节点ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods_class.js",
    "groupTitle": "商品分类",
    "name": "PostAdd_goods_class",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/del_goods_class",
    "title": "删除商品分类",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/del_goods_class"
      }
    ],
    "group": "goods_class",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>分类ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods_class.js",
    "groupTitle": "商品分类",
    "name": "PostDel_goods_class",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/goods_class_list",
    "title": "商品分类列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/goods_class_list"
      }
    ],
    "description": "<p>获取快餐分类，只返回一级分类</p>",
    "group": "goods_class",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "is_fast_food",
            "description": "<p>快餐分类，0否，1是</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods_class.js",
    "groupTitle": "商品分类",
    "name": "PostGoods_class_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/update_goods_class",
    "title": "添加商品分类",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/update_goods_class"
      }
    ],
    "group": "goods_class",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>分类ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "class_name",
            "description": "<p>分类名称</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "parent_id",
            "description": "<p>低级节点ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/goods_class.js",
    "groupTitle": "商品分类",
    "name": "PostUpdate_goods_class",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/cancel_inventory",
    "title": "作废",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/cancel_inventory"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "ids",
            "description": "<p>盘点ID，多个“,”连接</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostCancel_inventory",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/create_inventory",
    "title": "创建盘点",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/create_inventory"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>盘点名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>盘点方式 1 按月份盘点 2 抽盘</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 1,\n        \"i_sn\": \"2112211632130001\",\n        \"name\": \"聊天\",\n        \"add_time\": \"2021-12-21 16:32:13\",\n        \"shop_id\": 70,\n        \"add_user\": 7,\n        \"type\": 1,\n        \"status\": 0\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostCreate_inventory",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/inventory",
    "title": "盘点详情",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/inventory"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>盘点ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 12, // 盘点ID\n        \"i_sn\": \"2112240009\", // 盘点单号\n        \"name\": \"ok\", // 盘点名称\n        \"add_time\": \"2021-12-24T15:39:54\", // 盘点时间\n        \"shop_id\": 70, // 盘点店铺\n        \"add_user\": 7, // 盘点人\n        \"type\": 1, // 盘点方式 1 按月份盘点 2 抽盘\n        \"status\": 0, // 盘点状态 0 未提交，1已提交待审核，2 已审核(已完成)，3 已作废\n        \"check_user\": null, // 审核人\n        \"check_time\": null, // 审核时间\n        \"should_num\": 2271, // 应盘商品\n        \"actual_num\": 0, // 实盘商品\n        \"surplus_num\": 0, // 盘盈商品\n        \"deficit_num\": 0, // 盘亏商品\n        \"leak_num\": 0, // 漏盘商品\n        \"no_diff_num\": 0, // 无差异商品\n        \"remark\": null, // 备注\n        \"step\": 1 // 盘点进度 1盘点商品，2核对盈亏表，3完成盘点\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostInventory",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/inventory_goods_list",
    "title": "盘点商品列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/inventory_goods_list"
      }
    ],
    "description": "<ol>     </li>如果商品没有被盘点，盘点相关字段的值都为null，可以使用商品表内的数据做为盘点默认值</li>     </ol>",
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>盘点ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "class_id",
            "description": "<p>商品分类ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "flag",
            "description": "<p>0未盘（漏盘），1已盘，2无差异，3盘盈，4盘亏</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "status",
            "description": "<p>审核状态 0未审核,2审核中,3审核通过,4审核未通过</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "0",
            "description": "<p>分页，如果page&gt;0，获取分页数据，否则获取全部数据</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "description": "<p>每页数据条数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": null,\n            \"i_id\": null, // table_inventory表id\n            \"good_price\": null, // 商品售价\n            \"good_cost\": null, // 商品进货价\n            \"should_count\": null, // 账面库存\n            \"should_money\": null, // 账面金额\n            \"actual_count\": null, // 实盘库存\n            \"actual_money\": null, // 实盘金额\n            \"pal_count\": null, // 盈亏数量\n            \"pal_money\": null, // 盈亏金额\n            \"state\": null, // 盈亏状态：0 正常 1 盘盈 2 盘亏\n            \"reason\": null, // 审核未通过原因\n            \"check_time\": null, // 审核时间\n            \"goods_id\": 2757,\n            \"class_id\": 5,\n            \"goods_name\": \"苹果\",\n            \"scount\": \"965.000\", // 库存\n            \"usdt_price\": 198.0, // 单价\n            \"shoper_id\": 70\n            \"product_date\": \"2021-11-18\",\n            \"guarantee_period\": 0,\n            \"guarantee_type\": 1,\n            \"goods_img\": \"\"\n        },\n    ],\n    \"total\": 6,\n    \"page\": 1,\n    \"size\": 15\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostInventory_goods_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/inventory_list",
    "title": "盘点列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/inventory_list"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "type",
            "description": "<p>盘点方式 1 按月份盘点 2 抽盘</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>分页</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "15",
            "description": "<p>每页数据条数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 1,\n            \"i_sn\": \"2112211632130001\", // 盘点单号\n            \"name\": \"聊天\",\n            \"add_time\": \"2021-12-21T16:32:13\",\n            \"shop_id\": 70, // 盘点店铺\n            \"add_user\": 7, // 盘点人\n            \"type\": 1, // 盘点方式 1 按月份盘点 2 抽盘\n            \"status\": 1, // 盘点状态 0未提交，1已提交待审核，2审核中，3审核通过，4审核未通过，5已作废\n            \"check_user\": null, // 审核人\n            \"check_time\": null, // 审核时间\n            \"should_num\": 0, // 应盘商品\n            \"actual_num\": 0, // 实盘商品\n            \"surplus_num\": 0, // 盘盈商品\n            \"deficit_num\": 0, // 盘亏商品\n            \"leak_num\": 0, // 漏盘商品\n            \"no_diff_num\": 0, // 无差异商品\n            \"remark\": null, // 备注\n            \"step\": 0 // 盘点进度\n        }\n    ],\n    \"page\": 1,\n    \"size\": 15,\n    \"total\": 1\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostInventory_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/inventory_progress",
    "title": "按商品分类统计已盘数量",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/inventory_progress"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>盘点ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "flag",
            "description": "<p>0未盘（漏盘），2无差异，3盘盈，4盘亏</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 3, // 商品盘点ID\n            \"class_id\": 4, // 商品分类ID\n            \"num\": 1, // 已盘\n            \"class_name\": \"手拎包\" // 商品分类\n        },\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostInventory_progress",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/save_inventory_detail",
    "title": "盘点商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/save_inventory_detail"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "inventory_id",
            "description": "<p>盘点ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "actual_count",
            "description": "<p>实盘库存，flag=1时，参数无效</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "flag",
            "defaultValue": "0",
            "description": "<p>1删除盘点商品</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostSave_inventory_detail",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stats_inventory_goods",
    "title": "统计已盘点商品",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stats_inventory_goods"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>盘点ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"ctg_num\": 1, // 已盘点商品种数\n        \"total_num\": \"2.000\", // 已盘点商品总数\n        \"total_amount\": \"5.00\" // 已盘点总金额\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostStats_inventory_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/submit_inventory",
    "title": "提交",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/submit_inventory"
      }
    ],
    "description": "<p>当step设置为3时，后台将status设置为1（待审核状态）</p>",
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>盘点ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "step",
            "description": "<p>阶段 1盘点商品，2核对盈亏表，3完成盘点</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostSubmit_inventory",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/update_inventory_stats_data",
    "title": "更新盘点统计",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/update_inventory_stats_data"
      }
    ],
    "group": "inventory",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>盘点ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/inventory.js",
    "groupTitle": "盘点",
    "name": "PostUpdate_inventory_stats_data",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/member_create",
    "title": "创建会员",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/member_create"
      }
    ],
    "group": "member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "building_no",
            "description": "<p>楼号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "unit",
            "description": "<p>单元</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "level",
            "description": "<p>楼层</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "house_number",
            "description": "<p>门牌号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>业主姓名</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 56 // 会员ID\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member.js",
    "groupTitle": "会员",
    "name": "PostMember_create",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/member_detail",
    "title": "会员详情",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/member_detail"
      }
    ],
    "group": "member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "member_id",
            "description": "<p>会员ID，username二选一</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "username",
            "description": "<p>会员名称、手机号，member_id二选一</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"id\": 6, // 会员号/会员ID\n        \"username\": \"15904965203\", // 会员名称、手机号\n        \"usdt_value\": 290751.69, // 余额\n        \"user_level\": 2, // 等级\n        \"point\": 10846.7383, // 积分\n        \"storage\": 48.2, // 仓储卡\n        \"member_info\": {\n            \"phone\": \"0\",\n            \"building_no\": \"1\",\n            \"unit\": \"2\",\n            \"level\": \"3\",\n            \"house_number\": \"4\",\n            \"name\": \"啊\",\n            \"created_at\": \"2021-08-06T17:45:28\",\n            \"com_name\": \"市府社区\",\n            \"shop_name\": \"新天地超市\"\n        }\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member.js",
    "groupTitle": "会员",
    "name": "PostMember_detail",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/member_query",
    "title": "会员查询",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/member_query"
      }
    ],
    "group": "member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "keyword",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [{\n        \"id\": 2, // 会员号/会员ID\n        \"username\": \"13604066495\", // 会员名称、手机号\n        \"usdt_value\": 8501.9, // 余额\n        \"user_level\": 0, // 等级\n        \"point\": 0.0, // 积分\n        \"name\": \"达文西\" // 业主姓名\n   }]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member.js",
    "groupTitle": "会员",
    "name": "PostMember_query",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/member_update",
    "title": "更新会员信息",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/member_update"
      }
    ],
    "group": "member",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "description": "<p>会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "building_no",
            "description": "<p>楼号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "unit",
            "description": "<p>单元</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "level",
            "description": "<p>楼层</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "house_number",
            "description": "<p>门牌号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "name",
            "description": "<p>业主姓名</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member.js",
    "groupTitle": "会员",
    "name": "PostMember_update",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/storage_cards",
    "title": "仓储卡类型列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/storage_cards"
      }
    ],
    "group": "member_funds",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 1, // 仓储卡ID\n            \"quota\": 100, // 额度\n            \"dedu_ratio\": 0.25, // 抵扣比例\n            \"month_ratio\": 0.1, // 每月消费比例\n            \"created_at\": \"2021-09-29T16:17:03\" // 创建时间(有默认值)\n        },\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member_funds.js",
    "groupTitle": "会员资产",
    "name": "PostStorage_cards",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          },
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "Content-Type",
            "description": "<p>application/json</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/top_up",
    "title": "仓储卡充值",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/top_up"
      }
    ],
    "description": "<p>计算信资充值接口通讯秘钥：token=md5(接口私钥\"api_key\"+参数\"usrname\")+cashier（收银员ID）</p> <p>信资充值接口参数说明：</p> <ul>     <li>cashier：收银员ID</li>     <li>username：手机号</li>     <li>cardId：仓储卡类型</li>     <li>num：购买数量</li>     <li>token：通讯秘钥</li> </ul>",
    "group": "member_funds",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "card_id",
            "description": "<p>仓储卡ID，通过接口storage_cards获取</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_mode",
            "description": "<p>支付方式 1现金；10线下扫码；100微信或支付宝</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "num",
            "description": "<p>购买数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"order_sn\": \"xxx\" // 充值订单编号\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/member_funds.js",
    "groupTitle": "会员资产",
    "name": "PostTop_up",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          },
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "Content-Type",
            "description": "<p>application/json</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/order/anti_settlement",
    "title": "反结账",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/order/anti_settlement"
      }
    ],
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>订单ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "remark",
            "description": "<p>备注</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"total_price\": \"19.80\", // 支付金额\n        \"order_sn\": \"211014185847224736ZT4BO\" // 订单号\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostOrderAnti_settlement",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/order/checkout",
    "title": "收款、结账",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/order/checkout"
      }
    ],
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostOrderCheckout",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/order/create",
    "title": "创建订单（购物结算）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/order/create"
      }
    ],
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "pay_methods",
            "description": "<p>支付方式</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_methods.typ",
            "description": "<p>支付方式类型 1现金，2仓储卡，3余额，10线下扫码，100微信/支付宝</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pay_methods.amount",
            "description": "<p>支付金额</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员ID，支付类型为仓储卡时，需要传入会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "pay_code",
            "defaultValue": "None",
            "description": "<p>支付码，如果支付方式包括“微信”或“支付宝”，则需要提供此参数</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "total_amount",
            "defaultValue": "None",
            "description": "<p>用户提交的支付金额</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"total_price\": \"36.00\", // 实收金额\n        \"cart_total_price\": \"29.70\", // 购物车总金额\n        \"order_sn\": \"211023122817946811PL45E\"\n    },\n    \"detail\": {\n        \"order\": {\n            \"id\": 204,\n            \"shop_id\": 70,\n            \"cashier_id\": 7,\n            \"order_sn\": \"211023122817946811PL45E\",\n            \"pay_method\": \"现金\",\n            \"member_id\": 0,\n            \"account\": \"\",\n            \"goods_num\": 1231,\n            \"return_num\": 0,\n            \"return_order_sn\": \"\",\n            \"total_price\": \"36.00\",\n            \"remark\": \"\",\n            \"assoc_order_id\": 0,\n            \"status\": 1,\n            \"created\": 1634963297,\n            \"deleted\": 0\n        },\n        \"order_detail\": [\n            {\n                \"id\": 223,\n                \"goods_id\": 1494,\n                \"goods_name\": \"蒙牛高钙奶粉\",\n                \"barcode\": \"6940187260641\",\n                \"amount\": 1230,\n                \"selling_price\": \"25.00\",\n                \"is_input_price\": 0,\n                \"is_discount\": 0,\n                \"subtotal\": \"25.00\",\n                \"return_num\": 0,\n                \"status\": 0\n            },\n        ]\n    },\n    \"shop\": {\n        \"shop_name\": \"新天地超市\",\n        \"shop_phone\": \"13444444444\",\n        \"shop_address\": \"太原街18号\"\n    },\n    \"order_sn\": \"xxxx\" 订单号\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostOrderCreate",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/order/query_trade_state",
    "title": "查询第三方支付状态并更新收银订单",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/order/query_trade_state"
      }
    ],
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "order_sn",
            "description": "<p>订单编号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"is_paid\": 1, // 是否支付\n    \"result_code\": \"\", // 第三方支付查询结果，三种结果SUCCESS、FAIL、未知（空字符串），如果返回结果为空，需要继续轮询\n    \"msg\": \"\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostOrderQuery_trade_state",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/order/return_order_goods",
    "title": "退货（有订单号）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/order/return_order_goods"
      }
    ],
    "description": "<h3>提交参数示例：</h3> <p>{\"id\":\"142\",\"order_detail_list\":[{\"id\":149,\"num\":1}]}</p>",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>订单ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "order_detail_list",
            "description": "<p>退货明细</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_detail_list.id",
            "description": "<p>订单明细ID(非商品ID)</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_detail_list.num",
            "description": "<p>退货数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"stats_data\": { // 退款统计信息\n        \"row_num\": 1, // 退款商品款数\n        \"total_num\": 1, // 退款商品件数\n        \"return_yuan\": \"15.90\", // 退款总金额\n        \"pay_yuan\": \"15.90\" // 核对金额\n    },\n    \"refund_result\": [\n        {\n            \"refund_typ_name\": \"余额\", // 退款方式\n            \"refund_typ\": 3, // 退款方式ID\n            \"return_amount\": \"15.90\", // 退款总金额\n            \"pay_data\": [ // 相关支付记录\n                {\n                    \"id\": 108,\n                    \"order_id\": 142,\n                    \"pay_method_typ\": 3,\n                    \"pay_method\": \"余额\",\n                    \"pay_typ_id\": 0,\n                    \"pay_amount\": \"19.40\"\n                }\n            ]\n        }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostOrderReturn_order_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/v2/order/create",
    "title": "创建订单V2（购物结算）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/v2/order/create"
      }
    ],
    "description": "<h3>异步后台调用第三方支付</h3>",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bill_num",
            "description": "<p>购物车单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Object[]",
            "optional": false,
            "field": "pay_methods",
            "description": "<p>支付方式</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_methods.typ",
            "description": "<p>支付方式类型 1现金，2仓储卡，3余额，10线下扫码，100微信/支付宝</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pay_methods.amount",
            "description": "<p>支付金额</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "member_id",
            "description": "<p>会员ID，支付类型为仓储卡时，需要传入会员ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "pay_code",
            "defaultValue": "None",
            "description": "<p>支付码，如果支付方式包括“微信”或“支付宝”，则需要提供此参数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"total_price\": \"36.00\",\n        \"order_sn\": \"211023122817946811PL45E\"\n    },\n    \"detail\": {\n        \"order\": {\n            \"id\": 204,\n            \"shop_id\": 70,\n            \"cashier_id\": 7,\n            \"order_sn\": \"211023122817946811PL45E\",\n            \"pay_method\": \"现金\",\n            \"member_id\": 0,\n            \"account\": \"\",\n            \"goods_num\": 1231,\n            \"return_num\": 0,\n            \"return_order_sn\": \"\",\n            \"total_price\": \"36.00\",\n            \"remark\": \"\",\n            \"assoc_order_id\": 0,\n            \"status\": 1,\n            \"created\": 1634963297,\n            \"deleted\": 0\n        },\n        \"order_detail\": [\n            {\n                \"id\": 223,\n                \"goods_id\": 1494,\n                \"goods_name\": \"蒙牛高钙奶粉\",\n                \"barcode\": \"6940187260641\",\n                \"amount\": 1230,\n                \"selling_price\": \"25.00\",\n                \"is_input_price\": 0,\n                \"is_discount\": 0,\n                \"subtotal\": \"25.00\",\n                \"return_num\": 0,\n                \"status\": 0\n            },\n        ]\n    },\n    \"shop\": {\n        \"shop_name\": \"新天地超市\",\n        \"shop_phone\": \"13444444444\",\n        \"shop_address\": \"太原街18号\"\n    },\n    \"order_sn\": \"xxxx\" 订单号\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 10000,\n    \"action_code\": 1 // 创建订单失败，需要重新提交创建订单。\n    \"message\": \"更新商品库存失败\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/order.js",
    "groupTitle": "订单",
    "name": "PostV2OrderCreate",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/ad_banner",
    "title": "轮播",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/ad_banner"
      }
    ],
    "group": "other",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "type",
            "defaultValue": "2",
            "description": "<p>1信资商城轮播图,2收银系统</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "is_video",
            "description": "<p>是否为视频,0否,1是</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 10,\n            \"url_path\": \"xxx.jpg\",\n            \"type\": 2, // 1:信资商城轮播图,2:收银系统\n            \"time\": 555, // 轮播图,显示时间\n            \"is_video\": 0, // 是否为视频,0:否,1:是\n            \"created_at\": \"2022-01-10T11:11:22\", // 添加时间\n            \"is_show\": 1 // 是否显示\n        }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/other.js",
    "groupTitle": "其它",
    "name": "PostAd_banner"
  },
  {
    "type": "POST",
    "url": "/pay_refund",
    "title": "退款",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/pay_refund"
      }
    ],
    "group": "other",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_fen",
            "description": "<p>支付金额，单位分</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "refund_fen",
            "description": "<p>退款金额，单位分</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "tp_typ",
            "description": "<p>1微信，2支付宝</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "order_sn",
            "description": "<p>订单编号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>通讯认证 md5(key+order_sn)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "desc",
            "description": "<p>描述</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0, // 0 成功、其它失败\n    \"refund_id\": \"50300810052021102813802496579\", // 第三方退款订单号\n    \"tp_resp\": { // 第三方退款结果\n        \"return_code\": \"SUCCESS\",\n        \"return_msg\": \"OK\",\n        \"appid\": \"wxe9b6e3273506cfbd\",\n        \"mch_id\": \"1613424585\",\n        \"nonce_str\": \"SXJXuUIy7PqZxHA8\",\n        \"sign\": \"33D8200302001CB56599787343FD2719\",\n        \"result_code\": \"SUCCESS\",\n        \"transaction_id\": \"4200001209202110275236670217\",\n        \"out_trade_no\": \"211027155431855945TXLKH\",\n        \"out_refund_no\": \"211027155431855945TXLKHR\",\n        \"refund_id\": \"50300810052021102813802496579\",\n        \"refund_channel\": null,\n        \"refund_fee\": \"1\",\n        \"coupon_refund_fee\": \"0\",\n        \"total_fee\": \"1\",\n        \"cash_fee\": \"1\",\n        \"coupon_refund_count\": \"0\",\n        \"cash_refund_fee\": \"1\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/other.js",
    "groupTitle": "其它",
    "name": "PostPay_refund"
  },
  {
    "type": "POST",
    "url": "/query_pay_state",
    "title": "查询支付状态",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/query_pay_state"
      }
    ],
    "group": "payment",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_sn",
            "description": "<p>订单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_typ",
            "description": "<p>支付订单类型，1购物支付，2充值</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"status\": -1,\n        \"tp_order_sn\": \"\",\n        \"pay_method\": \"微信\",\n        \"pay_typ_id\": 1,\n        \"return_code\": \"SUCCESS\",\n        \"return_msg\": \"OK\",\n        \"result_code\": \"SUCCESS\",\n        \"mch_id\": \"1613424585\",\n        \"appid\": \"wxe9b6e3273506cfbd\",\n        \"trade_state\": \"PAYERROR\",\n        \"out_trade_no\": \"2112141119008518490X91PQ\",\n        \"attach\": null,\n        \"trade_state_desc\": \"支付失败，请撤销订单\",\n        \"nonce_str\": \"qQjL0Uln5l0OkTxk\",\n        \"sign\": \"74EBFD78D7E589AB3EF15816C400F8F4\"\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/payment.js",
    "groupTitle": "支付",
    "name": "PostQuery_pay_state",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/tp_pay",
    "title": "重新支付（第三方）",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/tp_pay"
      }
    ],
    "group": "payment",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_typ",
            "description": "<p>支付订单类型，1购物车支付，2为充值</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "pay_code",
            "description": "<p>第三方支付码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "order_sn",
            "description": "<p>订单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "member_id",
            "description": "<p>会员ID，当order_typ=2为用户充值时必须</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "status",
            "defaultValue": "0",
            "description": "<p>入库单状态 0未入库，1已提交（未累加到商品库存），100已入库</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "pay_fen",
            "description": "<p>支付金额，单位分，pay_yuan二选一</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "pay_yuan",
            "description": "<p>支付金额，单位元，pay_fen二选一</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 6, // 商品库存ID\n            \"order_id\": 0, // 入库ID\n            \"shop_id\": 1, // 店铺ID\n            \"cashier_id\": 3, // 收银员ID\n            \"goods_id\": 145, // 商品ID\n            \"cost_price\": \"10.20\", // 成本价\n            \"amount\": 2, // 入库数量\n            \"subtotal\": \"20.40\", // 小计\n            \"status\": 0, // 状态\n            \"created\": 1634028389,\n            \"updated\": 1634042245,\n            \"class_id\": 2, // 商品分类\n            \"goods_name\": \"大鸭梨\", // 商品名称\n            \"scount\": 957, // 库存数量\n            \"is_ban\": 0, // 0 上架 1 下架\n            \"create_time\": \"2021-09-23T11:15:02\", // 创建时间\n            \"state\": 1, // 审核状态，0：审核中，1审核通过，2：审核拒绝\n            \"discount_ratio\": null, // 商品折扣比例\n            \"is_community\": 1, // 是否是社区超市商品 0 否 1 是\n            \"is_warehouse\": 1, // 是否是仓储商品 0 否 1 是\n            \"point_ratio\": null, // 积分比例、会员比例\n            \"barcode\": \"\", // 条形码\n            \"unit\": \"\", // 单位\n            \"guardian_ratio\": 0.16, // 守护者获得购物券比例\n            \"goods_img\": \"xxx.png\" // 商品图片\n        }\n    ],\n    \"total\": 2, // 款数/入库商品数\n    \"page\": 1,\n    \"size\": 15\n    \"total_amount\": \"2\", // 总件数\n    \"total_price\": \"10.00\" // 总价\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/payment.js",
    "groupTitle": "支付",
    "name": "PostTp_pay",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/mark_pay_err_order",
    "title": "作废",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/mark_pay_err_order"
      }
    ],
    "group": "sale",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_id",
            "description": "<p>订单ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/sale.js",
    "groupTitle": "销售、订单",
    "name": "PostMark_pay_err_order",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/sale_order_detail",
    "title": "已售订单商品明细",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/sale_order_detail"
      }
    ],
    "group": "sale",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>订单ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>分页</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "15",
            "description": "<p>数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"order\": { // 订单信息\n        \"id\": 26, // 订单ID\n        \"shop_id\": 1,\n        \"cashier_id\": 3,\n        \"order_sn\": \"211012202743677985RNDVG\", // 订单号\n        \"pay_method\": \"现金+储值卡\", // 支付方式\n        \"member_id\": 2, // 会员ID\n        \"account\": \"\", // 账号/手机号\n        \"goods_num\": 3, // 件数\n        \"total_price\": \"29.70\", // 实收金额\n        \"cart_total_price\": \"29.70\", // 购物车总金额\n        \"remark\": \"\",\n        \"assoc_order_id\": 0,\n        \"status\": 1, // 订单状态，1已结,-1退货,-2退货子单，-100反结账(整单退)\n        \"created\": 1634041663\n    },\n    \"order_details\": [ // 订单商品列表\n        {\n            \"id\": 22,\n            \"goods_id\": 145,\n            \"goods_name\": \"大鸭梨\",\n            \"barcode\": \"\", // 条形码\n            \"amount\": 3, // 商品数量\n            \"selling_price\": \"9.90\", // 价格\n            \"is_input_price\": 0, // 是否按收银输入价格销售\n            \"is_discount\": 0, // 是否折扣\n            \"subtotal\": \"29.70\", // 小计\n            \"is_half\": 1, // 是否半价，0否，1商品半价，2店铺半价\n            \"half_num\": \"10.000\", // 半价商品数量\n            \"return_num\": 1, // 退货数量\n            \"return_order_id\": 0, // 订单ID\n            \"status\": -2, // 状态， 0正常，-1全部退货，-2部分退货，-10退货单\n            \"created\": 1634041663\n        }\n    ],\n    \"pay_logs\": [ // 支付方式\n        {\n            \"id\": 21,\n            \"pay_method_typ\": 1, // 支付方式标记，1现金, 2仓储卡, 3余额, 10线下扫码, 100微信/支付宝\n            \"pay_method\": \"现金\", // 支付方式\n            \"pay_typ_id\": 0, // 1微信，2支付宝\n            \"pay_amount\": \"29.00\", // 支付金额\n            \"confirmed\": 1, // 0确认时间戳\n            \"tp_order_sn\": \"\", // 第三方订单编号\n            \"return_amount\": \"0.00\", // 退款金额\n            \"return_status\": 0, // 退款状态，0未退，1已退\n            \"created\": 1634041664 // 创建时间\n        },\n    ],\n    \"total\": 1, // 订单商品列表总数\n    \"page\": 1, // 订单商品列表分页\n    \"size\": 15 // 订单商品列表每页数量\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/sale.js",
    "groupTitle": "销售、订单",
    "name": "PostSale_order_detail",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/sale_orders",
    "title": "订单列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/sale_orders"
      }
    ],
    "group": "sale",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "keyword",
            "description": "<p>订单号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "start",
            "description": "<p>开始日期 YYYY-MM-DD</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "end",
            "description": "<p>结束日期 YYYY-MM-DD</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "0",
            "description": "<p>分页</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "15",
            "description": "<p>数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 27,\n            \"shop_id\": 1,\n            \"cashier_id\": 3,\n            \"order_sn\": \"211012202959389593BTGQX\", // 订单号\n            \"pay_method\": \"现金+储值卡\", // 支付方式\n            \"goods_num\": 2, // 商品数量\n            \"total_price\": \"19.80\", // 订单总额\n            \"status\": 1, // 订单状态，0待支付，1已结，-1退货，-2退货子单，-3支付失败(需主动查询支付状态)，-4已退款，-5退换货，-100反结账(整单退)\n            \"trade_state_desc\": \"\", // 第三方支付返回的支付失败原因\n            \"created\": 1634041798\n        },\n    ],\n    \"total\": 17,\n    \"page\": 1,\n    \"size\": 15\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/sale.js",
    "groupTitle": "销售、订单",
    "name": "PostSale_orders",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stats_sales",
    "title": "销售统计",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stats_sales"
      }
    ],
    "description": "<h3>获取列表：</h3> <ul>     <li>k1: 应收金额</li>     <li>k2: 退款金额</li>     <li>k3: 实际销售额</li>     <li>k4: 线上APP</li>     <li>k5: 线下店铺</li>     <li>k6: 仓储卡累计充值金额</li>     <li>k7: 已使用抵扣券数量</li>     <li>k8: 今日待发放抵扣券的订单数量（flag=1存在）</li>     <li>k9: 下一次抵扣券发放时间（flag=1存在）</li>     <li>k10: 商品热销TOP10（flag=1存在）</li>     <li>k11: 收款情况</li>     <li>k12: 会员新增数量</li>     <li>k13: 累计会员数量</li>     <li>k14: 仓储卡当前余额（flag=2存在）</li>     <li>k15: 余额累计充值金额（flag=2存在）</li>     <li>k16: 余额当前余额（flag=2存在）</li>     <li>k17: 有消费会员数量</li>     <li>k18: 剩余抵扣券数量（flag=2存在）</li>     <li>k19: 抵扣累计发放券数量（flag=2存在）</li>     <li>k20: 抹零金额</li> </ul>",
    "group": "stats",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "flag",
            "defaultValue": "0",
            "description": "<p>1统计今日，2统计历史</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "from_time",
            "description": "<p>开始时间 yyyy-mm-dd，flag=0时有效</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "to_time",
            "description": "<p>结束时间 yyyy-mm-dd，flag=0时有效</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"key\": \"k1\",\n            \"val\": 0,\n            \"label\": \"今日销售额\"\n        },\n        {\n            \"key\": \"k2\",\n            \"val\": 0,\n            \"label\": \"今日退款金额\"\n        },\n        {\n            \"key\": \"k3\",\n            \"val\": 0,\n            \"label\": \"实际销售额\"\n        },\n        {\n            \"key\": \"k4\",\n            \"val\": 0,\n            \"label\": \"线上APP\"\n        },\n        {\n            \"key\": \"k5\",\n            \"val\": 0,\n            \"label\": \"线下店铺\"\n        },\n        {\n            \"key\": \"k6\",\n            \"val\": \"0\",\n            \"label\": \"今日仓储储值\"\n        },\n        {\n            \"key\": \"k11\",\n            \"val\": [\n                {\n                    \"pay_typ\": \"总计\",\n                    \"pay_mode\": 0,\n                    \"money\": 0\n                }\n            ],\n            \"label\": \"收款情况\"\n        },\n        {\n            \"key\": \"k12\",\n            \"val\": 0,\n            \"label\": \"今日会员新增数量\"\n        },\n        {\n            \"key\": \"k13\",\n            \"val\": 0,\n            \"label\": \"累计会员数量\"\n        },\n        {\n            \"key\": \"k7\",\n            \"val\": 0,\n            \"label\": \"今日已发放抵扣券数量\"\n        },\n        {\n            \"key\": \"k17\",\n            \"val\": 0,\n            \"label\": \"有消费会员数量\"\n        },\n        {\n            \"key\": \"k8\",\n            \"val\": 0,\n            \"label\": \"今日待发放抵扣券的订单数量\"\n        },\n        {\n            \"key\": \"k9\",\n            \"val\": \"2021-11-11 18:19:01\",\n            \"label\": \"下一次抵扣券发放时间\"\n        },\n        {\n            \"key\": \"k10\",\n            \"val\": [],\n            \"label\": \"今日商品热销TOP10\"\n        }\n    ],\n    \"label\": \"今日销售统计\",\n    \"flag\": 1\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stats.js",
    "groupTitle": "统计",
    "name": "PostStats_sales",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stock/add_goods",
    "title": "添加入库商品【弃】",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stock/add_goods"
      }
    ],
    "group": "stock",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "amount",
            "defaultValue": "None",
            "description": "<p>入库数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"stock_id\": 6, // 库存ID\n        \"opt_typ\": \"update\",  // 操作类型 add添加、update更新、del删除\n        \"amount\": 8, // 入库数量\n        \"subtotal\": \"81.60\", // 小计\n        \"cost_price\": \"10.20\" // 成本价\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stock.js",
    "groupTitle": "库存",
    "name": "PostStockAdd_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stock/confirm_order",
    "title": "确认入库单、直接入库",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stock/confirm_order"
      }
    ],
    "description": "<p>直接入库，不需要传入id，选填参数备注和支付金额。</p>  <p>确认入库单，需要传入id，不需要传入备注和支付金额。</p>",
    "group": "stock",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "id",
            "defaultValue": "0",
            "description": "<p>入库单ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "remark",
            "description": "<p>入库单备注</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "amount_paid",
            "description": "<p>支付金额</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stock.js",
    "groupTitle": "库存",
    "name": "PostStockConfirm_order",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stock/goods_list",
    "title": "库存列表",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stock/goods_list"
      }
    ],
    "description": "<h3>获取列表：</h3> <ol>     <li>默认status=0，获取当前收银员未提交的商品列表</li>     <li>status=1并且给定order_id，获取已提交，但未入库的商品列表</li>     <li>status=100并且给定order_id，获取已入库的商品列表</li> </ol>",
    "group": "stock",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "goods_id",
            "defaultValue": "None",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "order_id",
            "defaultValue": "None",
            "description": "<p>入库单ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "status",
            "defaultValue": "0",
            "description": "<p>入库单状态 0未入库，1已提交（未累加到商品库存），100已入库</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "page",
            "defaultValue": "1",
            "description": "<p>分页</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "size",
            "defaultValue": "15",
            "description": "<p>数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": [\n        {\n            \"id\": 6, // 商品库存ID\n            \"order_id\": 0, // 入库ID\n            \"shop_id\": 1, // 店铺ID\n            \"cashier_id\": 3, // 收银员ID\n            \"goods_id\": 145, // 商品ID\n            \"cost_price\": \"10.20\", // 成本价\n            \"amount\": 2, // 入库数量\n            \"subtotal\": \"20.40\", // 小计\n            \"status\": 0, // 状态\n            \"created\": 1634028389,\n            \"updated\": 1634042245,\n            \"class_id\": 2, // 商品分类\n            \"goods_name\": \"大鸭梨\", // 商品名称\n            \"scount\": 957, // 库存数量\n            \"is_ban\": 0, // 0 上架 1 下架\n            \"create_time\": \"2021-09-23T11:15:02\", // 创建时间\n            \"state\": 1, // 审核状态，0：审核中，1审核通过，2：审核拒绝\n            \"discount_ratio\": null, // 商品折扣比例\n            \"is_community\": 1, // 是否是社区超市商品 0 否 1 是\n            \"is_warehouse\": 1, // 是否是仓储商品 0 否 1 是\n            \"point_ratio\": null, // 积分比例、会员比例\n            \"barcode\": \"\", // 条形码\n            \"unit\": \"\", // 单位\n            \"guardian_ratio\": 0.16, // 守护者获得购物券比例\n            \"product_date\": null, // 生产日期\n            \"guarantee_period\": null, // 保质期\n            \"guarantee_type\": null, // 保质期类型 1 日 2 月 3 年\n            \"goods_img\": \"xxx.png\" // 商品图片\n        }\n    ],\n    \"total\": 2, // 款数/入库商品数\n    \"page\": 1,\n    \"size\": 15\n    \"total_amount\": \"2\", // 总件数\n    \"total_price\": \"10.00\" // 总价\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stock.js",
    "groupTitle": "库存",
    "name": "PostStockGoods_list",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stock/submit_order",
    "title": "提交入库单",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stock/submit_order"
      }
    ],
    "group": "stock",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "remark",
            "description": "<p>入库单备注</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "amount_paid",
            "description": "<p>支付金额</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stock.js",
    "groupTitle": "库存",
    "name": "PostStockSubmit_order",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/stock/update_goods",
    "title": "添加、更新、删除入库信息",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/stock/update_goods"
      }
    ],
    "group": "stock",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "amount",
            "defaultValue": "None",
            "description": "<p>入库数量</p>"
          }
        ]
      }
    },
    "description": "<h3>更新包括以下情况：</h3> <ol>     <li>amount=-1或不存在，商品库存累加</li>     <li>amount>0，更新商品库存数量</li>     <li>amount=0，商品从库存中删除</li> </ol>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"data\": {\n        \"stock_id\": 6, // 库存ID\n        \"opt_typ\": \"update\",  // 操作类型 add添加、update更新、del删除\n        \"amount\": 8, // 入库数量\n        \"subtotal\": \"81.60\", // 小计\n        \"cost_price\": \"10.20\" // 成本价\n    }\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/stock.js",
    "groupTitle": "库存",
    "name": "PostStockUpdate_goods",
    "header": {
      "fields": {
        "Header": [
          {
            "group": "Header",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>用户登录获取的token</p>"
          }
        ]
      }
    }
  },
  {
    "type": "POST",
    "url": "/query_trade_state",
    "title": "查询交易状态",
    "sampleRequest": [
      {
        "url": "http://192.168.1.134:8800/query_trade_state"
      }
    ],
    "group": "tool",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "order_sn",
            "description": "<p>订单号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "typ",
            "description": "<p>支付方式，wx，ali</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Object",
            "optional": false,
            "field": "/data",
            "description": "<p>数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "成功响应：",
          "content": "HTTP/1.1 200 OK\n{\n    \"errcode\": 0,\n    \"traded_no\": \"\",\n    \"trade_state\": \"PAYERROR\",\n    \"res\": {\n        \"return_code\": \"SUCCESS\",\n        \"return_msg\": \"OK\",\n        \"result_code\": \"SUCCESS\",\n        \"mch_id\": \"1613424585\",\n        \"appid\": \"wxe9b6e3273506cfbd\",\n        \"trade_state\": \"PAYERROR\",\n        \"out_trade_no\": \"21121610073580611606B7JM\",\n        \"attach\": null,\n        \"trade_state_desc\": \"支付失败，请撤销订单\",\n        \"nonce_str\": \"MtNLlISqfz0BTN4V\",\n        \"sign\": \"9341FF23D1646B73AF6E280A4C440516\"\n    },\n    \"err\": null\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "statics/apidoc/tool.js",
    "groupTitle": "工具",
    "name": "PostQuery_trade_state"
  }
] });
